package NumberTwo;

public class StringHandlerDemo {
    public static void main(String[] args) {
        useStringHandler(1,a-> System.out.println("这是我收到的参数"+a));

    }

    static void useStringHandler(int a,StringHandler stringHandler){
        stringHandler.printMessage(a);
    }
}
